#定义一个double类型的列表，长度是8，求数组中所有数的积
list_double = []
turn = 1
while turn !=9:
    a = float(input('输入第'+str(turn)+'数字'))
    list_double.append(a)
    turn += 1
product = 1
for x in list_double:
    product *= x
print("数组中所有数的积为:", product)
